package com.zc.custom.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单流程对象 charge_custom_order_info_process
 *
 * @author glb
 * @date 2023-10-18
 */
public class ChargeCustomOrderInfoProcess extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    private Long orderInfoProcessId;

    /**
     * 订单编号
     */
    @Excel(name = "订单编号")
    private String orderInfoCode;

    /**
     * 流程名称
     */
    @Excel(name = "流程名称")
    private String orderInfoProcessName;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date orderInfoProcessCreateTime;

    /**
     * 执行结果
     */
    @Excel(name = "执行结果")
    private String orderInfoProcessResult;

    /**
     * 客户编码
     */
    @Excel(name = "客户编码")
    private String customCode;

    /**
     * 客户名称
     */
    @Excel(name = "客户名称")
    private String customName;

    public void setOrderInfoProcessId(Long orderInfoProcessId) {
        this.orderInfoProcessId = orderInfoProcessId;
    }

    public Long getOrderInfoProcessId() {
        return orderInfoProcessId;
    }

    public void setOrderInfoCode(String orderInfoCode) {
        this.orderInfoCode = orderInfoCode;
    }

    public String getOrderInfoCode() {
        return orderInfoCode;
    }

    public void setOrderInfoProcessName(String orderInfoProcessName) {
        this.orderInfoProcessName = orderInfoProcessName;
    }

    public String getOrderInfoProcessName() {
        return orderInfoProcessName;
    }

    public void setOrderInfoProcessCreateTime(Date orderInfoProcessCreateTime) {
        this.orderInfoProcessCreateTime = orderInfoProcessCreateTime;
    }

    public Date getOrderInfoProcessCreateTime() {
        return orderInfoProcessCreateTime;
    }

    public void setOrderInfoProcessResult(String orderInfoProcessResult) {
        this.orderInfoProcessResult = orderInfoProcessResult;
    }

    public String getOrderInfoProcessResult() {
        return orderInfoProcessResult;
    }

    public void setCustomCode(String customCode) {
        this.customCode = customCode;
    }

    public String getCustomCode() {
        return customCode;
    }

    public void setCustomName(String customName) {
        this.customName = customName;
    }

    public String getCustomName() {
        return customName;
    }

    public ChargeCustomOrderInfoProcess() {

    }

    public ChargeCustomOrderInfoProcess(String orderInfoCode, String customCode, String orderInfoProcessName, String orderInfoProcessResult, Date orderInfoProcessCreateTime) {
        this.orderInfoCode = orderInfoCode;
        this.customCode = customCode;
        this.orderInfoProcessName = orderInfoProcessName;
        this.orderInfoProcessResult = orderInfoProcessResult;
        this.orderInfoProcessCreateTime = orderInfoProcessCreateTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("orderInfoProcessId", getOrderInfoProcessId())
                .append("orderInfoCode", getOrderInfoCode())
                .append("orderInfoProcessName", getOrderInfoProcessName())
                .append("orderInfoProcessCreateTime", getOrderInfoProcessCreateTime())
                .append("orderInfoProcessResult", getOrderInfoProcessResult())
                .append("customCode", getCustomCode())
                .append("customName", getCustomName())
                .toString();
    }
}
